CRPEngine::GetHandleString

Use CRPEngine::GetHandleString to retrieve the text to which the string handle is pointing. The CString object will contain the actual text. This function is used in conjunction with functions that return variable length strings. After your program allocates a buffer of sufficient size, this function moves the string from the string handle to the buffer.

BOOL GetHandleString (
        HANDLE textHandle,
        short textLength,
        CString &string );
Parameters

textHandle

Specifies the handle of the string containing the text of interest.

textLength

Specifies the length of the text string, including the terminating null byte. This value should be identical to the length of the string obtained by the variable length string function.

string

Reference to the CString object obtained by the variable length string function.

Returns
Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com